/**
  ******************************************************************************
  * @file    system_sym32l010.h
  * @author  AE Team
  * @version 1.0.3
  * @date    2024-05-28
  * @brief   Header file of system_sym32l010
  *
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; Copyright (c) 2024 SIYIMicro.
  * All rights reserved.</center></h2>
  *
  *
  ******************************************************************************
  */


 /* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __SYSTEM_SYM32L010_H
#define __SYSTEM_SYM32L010_H

#ifdef __cplusplus
extern "C" {
#endif


/******************************************************************************/
/* Include files                                                              */
/******************************************************************************/
#include "sym32l010_hal_def.h"


/******************************************************************************/
/* Global pre-processor symbols/macros ('define')                             */
/******************************************************************************/
#define HWWD_DISABLE                    (1)


/*******************************************************************************
 ** \brief Clock Setup macro definition
 **
 ** - 0: CLOCK_SETTING_NONE  - User provides own clock setting in application
 ** - 1: CLOCK_SETTING_CMSIS -
 ******************************************************************************/
#define CLOCK_SETTING_NONE              0U
#define CLOCK_SETTING_CMSIS             1U


/******************************************************************************/
/* Global macro function                                                      */
/******************************************************************************/


/******************************************************************************/
/* Exported variables ('extern', definition in C source)                      */
/******************************************************************************/
extern uint32_t SystemCoreClock;                                      // System Clock Frequency (Core Clock)


/******************************************************************************/
/* Global function prototypes ('extern', definition in C source)              */
/******************************************************************************/
void SystemInit(void);                                                // Initialize the system
void SystemCoreClockUpdate(void);                                     // Update SystemCoreClock variable
void FirmwareDelay(uint32_t DlyCnt);
void MemClr(void *pu8Address, uint32_t ByteCnt);


#ifdef __cplusplus
}
#endif

#endif /* __SYSTEM_SYM32L010_H */


/************************ (C) COPYRIGHT SIYIMicro *****END OF FILE*************/
